﻿@model Find4You.Models.Account.TrocaSenha

@{
    ViewBag.Title = "Trocar Senha";
}

<div class="grid_5">
<div class="box">
	<h2>
		Trocar senha
	</h2>

	<div class="block" id="login-forms">		
    
    @using (Html.BeginForm())
    {
			<fieldset class="login">
				<legend>Login</legend>
                @Html.ValidationSummary(true)<p class="notice">@ViewBag.MensagemConfirmacao</p>
                <p>
					<label>Email:<em class="form-req">*</em> </label>
					@ViewBag.LoginEmail
				</p>
                <p>
                    <label>Senha Atual:<em class="form-req">*</em> </label>
                    
                    @Html.PasswordFor(m => m.OldPassword, new { id = "tbOldPassword", maxlength = "12"})
                    @Html.ValidationMessageFor(m => m.OldPassword)
                </p>
                <p>
                    <label>Nova Senha:<em class="form-req">*</em> </label>
                    
                    @Html.PasswordFor(m => m.NewPassword, new { id = "tbNewPassword", maxlength = "12"})
                    @Html.ValidationMessageFor(m => m.NewPassword)
                </p>
                <p>
                    <label>Confirmação Senha:<em class="form-req">*</em> </label>
                    
                    @Html.PasswordFor(m => m.ReNewPassword, new { id = "tbRePassword", maxlength = "12"})
                    @Html.ValidationMessageFor(m => m.ReNewPassword)
                </p>
                <input type="submit" value="Trocar Senha" class="login button" />
            </fieldset>
    }
    </div>
</div>
</div>

